<template>
  <svg
    class="yindu-icon"
    width="40px"
    height="40px"
    viewBox="0 0 40 40"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
  >
    <g
      id="页面-1"
      stroke="none"
      stroke-width="1"
      fill="none"
      fill-rule="evenodd"
    >
      <g
        id="切图"
        transform="translate(-1707.000000, -99.000000)"
        fill="#323232"
      >
        <g id="编组" transform="translate(1707.000000, 99.000000)">
          <polygon
            id="Fill-1"
            points="38.1988063 0 0 38.2 1.79994375 40 40 1.80125"
          ></polygon>
          <polygon
            id="Fill-2"
            points="1.80056873 0 0.000624980469 1.80125 38.1994313 40 39.999375 38.2"
          ></polygon>
        </g>
      </g>
    </g>
  </svg>
</template>

<script setup lang="ts">
type Props = {
  fill?: string;
};

const props = withDefaults(defineProps<Props>(), {
  fill: "#323232",
});

const fillColor = computed(() => {
  return props.fill;
});
</script>
<style scoped lang="less">
.yindu-icon {
  & path,
  & polygon {
    fill: v-bind(fillColor);
  }
}
</style>
